package cn.snow.iot.module.cps.dal.dataobject.product;

import cn.snow.iot.framework.mybatis.core.entity.BaseEntity;
import cn.snow.iot.framework.tenant.core.db.TenantBaseDO;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

@TableName(value = "cps_product", autoResultMap = true)
@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ProductDO extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Long id;
    /**
     * 产品名称
     */
    private String productName;

    /**
     * 产品编码
     */
    private String productCode;

    /**
     * 站地址
     */
    private String stationAddress;

    /**
     * 是否启用
     */
    private Integer isEnable;

    /**
     * 备注
     */
    private String remark;

    /**
     * 协议类型
     */
    private String agreementType;

    /**
     * 图片路径
     */
    private String image;
}
